package com.tos.uc.service.Impl;

import com.tos.uc.dao.ITosMessageLogsDao;
import com.tos.uc.domain.TosMessageLogs;
import com.tos.uc.service.MessageLogsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by yanfei on 2017/6/28.
 */
@Service
public class MessageLogsServiceImpl implements MessageLogsService {
    @Autowired
    private ITosMessageLogsDao tosMessageLogsDao;

    @Override
    public int addMessageLog(TosMessageLogs messageLogs) {
        return this.tosMessageLogsDao.addMessageLog(messageLogs);
    }
}
